//
//  MessageCell.m
//  YinHang
//
//  Created by idea on 14-9-20.
//  Copyright (c) 2014年 孙彦鹏. All rights reserved.
//

#import "MessageCell.h"

@implementation MessageCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}


-(void)awakeFromNib{
    UIImage *deleteBtn_bgImg = [[UIImage imageNamed:@"ipubhistory_edit"] resizableImageWithCapInsets:UIEdgeInsetsMake(2, 7, 2, 7) resizingMode:UIImageResizingModeStretch];
    
    [_deleteCell setBackgroundImage:deleteBtn_bgImg forState:UIControlStateNormal];
}


@end
